package com.abc.scholarship.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 奖学金表
 * </p>
 *
 * @author LiJunXi
 * @since 2024-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_scholarship")
public class Scholarship implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 奖学金ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 奖学金名称
     */
    @TableField("scholarship_name")
    private String scholarshipName;

    /**
     * 1、2、3
     */
    @TableField("type")
    private Integer type;

    /**
     * 获奖人数比例
     */
    @TableField("ratio")
    private Integer ratio;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private LocalDateTime updateTime;

    /**
     * 状态（1：正常，2：禁用）
     */
    @TableField("status")
    private Integer status;


}
